#ifndef XMLDEFS_H
#define XMLDEFS_H

#include "xercesc/dom/DOMNodeFilter.hpp"
#include "xercesc/util/XercesDefs.hpp"


XERCES_CPP_NAMESPACE_USE

namespace xerces {

#define GCC_VERSION (__GNUC__ * 1000 \
		     + __GNUC_MINOR__ * 10)

#define  FEATALL                       0x3F // All Features
#define  FEATVALID                     0x01 // Validation
#define  FEATNAMESPACE                 0x02 // NAMESPACE
#define  FEATSCHEMA                    0x04 // Schema
#define  FEATSCHFULLCHECK              0x08 // Schema full check
#define  FEATDTNORMALIZE               0x10 // Data type normalization
#define  FEATCACHEGRAMMAR              0x20 // Cache grammar 
#define  FEATNONE                      0x00 // No Feature(Whatever !!!)

#define SHOW_ALL                       DOMNodeFilter::SHOW_ALL
#define SHOW_ELEMENT                   DOMNodeFilter::SHOW_ELEMENT
#define SHOW_TEXT                      DOMNodeFilter::SHOW_TEXT
#define SHOW_ATTRIBUTE                 DOMNodeFilter::SHOW_ATTRIBUTE
#define SHOW_CDATA_SECTION             DOMNodeFilter::SHOW_CDATA_SECTION
#define SHOW_ENTITY_REFERENCE          DOMNodeFilter::SHOW_ENTITY_REFERENCE
#define SHOW_ENTITY                    DOMNodeFilter::SHOW_ENTITY
#define SHOW_PROCESSING_INSTRUCTION    DOMNodeFilter::SHOW_PROCESSING_INSTRUCTION
#define SHOW_COMMENT                   DOMNodeFilter::SHOW_COMMENT
#define SHOW_DOCUMENT                  DOMNodeFilter::SHOW_DOCUMENT
#define SHOW_DOCUMENT_TYPE             DOMNodeFilter::SHOW_DOCUMENT_TYPE
#define SHOW_DOCUMENT_FRAGMENT         DOMNodeFilter::SHOW_DOCUMENT_FRAGMENT
#define SHOW_NOTATION                  DOMNodeFilter::SHOW_NOTATION 


  }; // end of namespace xerces

#endif
